package com.qf.push.config;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.socket.server.standard.ServerEndpointExporter;

import java.lang.annotation.Target;

@Configuration
public class WebSocketConfig {
/**
 * 配置一个ServerEndPoint  用户管理
 */
    @Bean
    public ServerEndpointExporter serverEndpointExporter(){
        return new ServerEndpointExporter();
    }
}
